package 幼儿园管理系统;//主类
import java.util.ArrayList;
import java.util.Scanner;
public class SchoolSystemtest{
public static void main(String[] args)throws Exception{
	 Scanner s = new Scanner(System.in);
     SchoolSystem schoolSystem =new SchoolSystem(0,0,0);
     String a[]=schoolSystem.parse(s.nextLine());
     int[] x =schoolSystem.parseteam(s.nextLine());
     schoolSystem.set(schoolSystem.getBig(),schoolSystem.getMedium(),schoolSystem.getSmall());
     int o=3;
     String ss="addStudent";
     for (int i = 0; i < a.length; i++) {
         if (a[i].equals(ss))
             o=o+1;
     }
     for(int i=3;i<o;i++){
         schoolSystem.addStudent(x[i]);
     }
     schoolSystem.print();
 }
}
